package com.wise.site.protocol.result;

import org.json.JSONException;
import org.json.JSONObject;

import com.wise.site.protocol.base.SoapItem;
import com.wise.site.protocol.base.SoapResult;

/**
 * 店铺详细，包括商铺相关的东西
 * @author huangyue
 *
 */
public class ShopDetailResult extends SoapItem {
	public int id;//id
	public String iconURL;//logo
	public String title;//公司名称
	public String vipText;//等级
	public String vipIconURL;//等级图标地址
	public String shopRange;//地址
	public String snipping;//简介
	private String phoneNumber;//联系电话
	private String contact;//联系人
	
	@Override
	public void parse(JSONObject node) throws JSONException {
		// TODO Auto-generated method stub
		test();
	}
	
	private void test(){
		this.id = 0;
		this.iconURL = "";
		this.title = "深圳某某某有限公司";
		this.vipText = "黄冠";
		this.vipIconURL = "";
		this.shopRange = "深圳市南山区";
		this.snipping = "深圳某某某有限公司位于深圳市南山区";
		this.phoneNumber = "0755-45362589";
		this.contact = "张三";
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getIconURL() {
		return iconURL;
	}

	public void setIconURL(String iconURL) {
		this.iconURL = iconURL;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getVipText() {
		return vipText;
	}

	public void setVipText(String vipText) {
		this.vipText = vipText;
	}

	public String getVipIconURL() {
		return vipIconURL;
	}

	public void setVipIconURL(String vipIconURL) {
		this.vipIconURL = vipIconURL;
	}

	public String getShopRange() {
		return shopRange;
	}

	public void setShopRange(String shopRange) {
		this.shopRange = shopRange;
	}

	public String getSnipping() {
		return snipping;
	}

	public void setSnipping(String snipping) {
		this.snipping = snipping;
	}

	public String getPhoneNumber() {
		return phoneNumber;
	}

	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}

	public String getContact() {
		return contact;
	}

	public void setContact(String contact) {
		this.contact = contact;
	}

	@Override
	public String toString() {
		return "ShopDetailResult [id=" + id + ", iconURL=" + iconURL
				+ ", title=" + title + ", vipText=" + vipText + ", vipIconURL="
				+ vipIconURL + ", shopRange=" + shopRange + ", snipping="
				+ snipping + ", phoneNumber=" + phoneNumber + ", contact="
				+ contact + "]";
	}

	
	


}
